{include file="public/header"/}

<body class="gray-bg">






<div class="wrapper wrapper-content">
    <div class="ibox float-e-margins">
        <div class="ibox-title">
            <h5>近一周访问量统计</h5>
        </div>
        <div class="ibox-content">
		
            <!-- 内容主体区域 -->
			<div style="padding: 15px;">
			<fieldset class="layui-elem-field layui-field-title" style="">
			<!--<legend>数据曲线图</legend>-->
			</fieldset>
			<div class="container-fluid">
			<canvas id="canvas" height="270" width="1500px" ></canvas>
			</div>

			</div>
	
        </div>
    </div>
 


    

</div>

{include file="public/footer" /}


<script src="/static/admin/js/Chart.min.js"></script>


<script>
var randomScalingFactor = function(){ return Math.round(Math.random()*100)};
var lineChartData = {
labels : ["1号","2号","3号","4号","5号","6号","7号","8号","9号","10号","11号","12号","13号","14号","15号","16号","17号","18号","19号","20号","21号","22号","23号","24号","25号","26号","27号","28号","29号","30号","31号"],
datasets : [
{
label: "My First dataset",
fillColor : "rgba(51,204,113,0.1)",
strokeColor : "rgba(51,204,113,1)",
pointColor : "rgba(51,204,113,1)",
pointStrokeColor : "#fff",
pointHighlightFill : "#fff",
pointHighlightStroke : "rgba(220,220,220,1)",
data : ["<?php echo $dataarray[0]?>","<?php echo $dataarray[1]?>","<?php echo $dataarray[2]?>","<?php echo $dataarray[3]?>","<?php echo $dataarray[4]?>","<?php echo $dataarray[5]?>","<?php echo $dataarray[6]?>","<?php echo $dataarray[7]?>","<?php echo $dataarray[8]?>","<?php echo $dataarray[9]?>","<?php echo $dataarray[10]?>","<?php echo $dataarray[11]?>","<?php echo $dataarray[12]?>","<?php echo $dataarray[13]?>","<?php echo $dataarray[14]?>","<?php echo $dataarray[15]?>","<?php echo $dataarray[16]?>","<?php echo $dataarray[17]?>","<?php echo $dataarray[18]?>","<?php echo $dataarray[19]?>","<?php echo $dataarray[20]?>","<?php echo $dataarray[21]?>","<?php echo $dataarray[22]?>","<?php echo $dataarray[22]?>","<?php echo $dataarray[23]?>","<?php echo $dataarray[24]?>","<?php echo $dataarray[25]?>","<?php echo $dataarray[26]?>","<?php echo $dataarray[27]?>","<?php echo $dataarray[28]?>","<?php echo $dataarray[29]?>","<?php echo $dataarray[30]?>"]
}
,
{
label: "My Second dataset",
fillColor : "rgba(138,140,115,0.2)",
strokeColor : "rgba(138,140,115,1)",
pointColor : "rgba(138,140,115,1)",
pointStrokeColor : "#fff",
pointHighlightFill : "#fff",
pointHighlightStroke : "rgba(151,187,205,1)",
data : ["<?php echo $dataarraymoney[0]?>","<?php echo $dataarraymoney[1]?>","<?php echo $dataarraymoney[2]?>","<?php echo $dataarraymoney[3]?>","<?php echo $dataarraymoney[4]?>","<?php echo $dataarraymoney[5]?>","<?php echo $dataarraymoney[6]?>","<?php echo $dataarraymoney[7]?>","<?php echo $dataarraymoney[8]?>","<?php echo $dataarraymoney[9]?>","<?php echo $dataarraymoney[10]?>","<?php echo $dataarraymoney[11]?>","<?php echo $dataarraymoney[12]?>","<?php echo $dataarraymoney[13]?>","<?php echo $dataarraymoney[14]?>","<?php echo $dataarraymoney[15]?>","<?php echo $dataarraymoney[16]?>","<?php echo $dataarraymoney[17]?>","<?php echo $dataarraymoney[18]?>","<?php echo $dataarraymoney[19]?>","<?php echo $dataarraymoney[20]?>","<?php echo $dataarraymoney[21]?>","<?php echo $dataarraymoney[22]?>","<?php echo $dataarraymoney[22]?>","<?php echo $dataarraymoney[23]?>","<?php echo $dataarraymoney[24]?>","<?php echo $dataarraymoney[25]?>","<?php echo $dataarraymoney[26]?>","<?php echo $dataarraymoney[27]?>","<?php echo $dataarraymoney[28]?>","<?php echo $dataarraymoney[29]?>","<?php echo $dataarraymoney[30]?>"]
}

,
{
label: "My Second dataset",
fillColor : "rgba(138,140,115,0.2)",
strokeColor : "rgba(138,140,115,1)",
pointColor : "rgba(138,140,115,1)",
pointStrokeColor : "#fff",
pointHighlightFill : "#fff",
pointHighlightStroke : "rgba(151,187,205,1)",
data : ["<?php echo $dataarrayyue[0]?>","<?php echo $dataarrayyue[1]?>","<?php echo $dataarrayyue[2]?>","<?php echo $dataarrayyue[3]?>","<?php echo $dataarrayyue[4]?>","<?php echo $dataarrayyue[5]?>","<?php echo $dataarrayyue[6]?>","<?php echo $dataarrayyue[7]?>","<?php echo $dataarrayyue[8]?>","<?php echo $dataarrayyue[9]?>","<?php echo $dataarrayyue[10]?>","<?php echo $dataarrayyue[11]?>","<?php echo $dataarrayyue[12]?>","<?php echo $dataarrayyue[13]?>","<?php echo $dataarrayyue[14]?>","<?php echo $dataarrayyue[15]?>","<?php echo $dataarrayyue[16]?>","<?php echo $dataarrayyue[17]?>","<?php echo $dataarrayyue[18]?>","<?php echo $dataarrayyue[19]?>","<?php echo $dataarrayyue[20]?>","<?php echo $dataarrayyue[21]?>","<?php echo $dataarrayyue[22]?>","<?php echo $dataarrayyue[22]?>","<?php echo $dataarrayyue[23]?>","<?php echo $dataarrayyue[24]?>","<?php echo $dataarrayyue[25]?>","<?php echo $dataarrayyue[26]?>","<?php echo $dataarrayyue[27]?>","<?php echo $dataarrayyue[28]?>","<?php echo $dataarrayyue[29]?>","<?php echo $dataarrayyue[30]?>"]
},

{
label: "My Second dataset",
fillColor : "rgba(138,140,115,0.2)",
strokeColor : "rgba(138,140,115,1)",
pointColor : "rgba(138,140,115,1)",
pointStrokeColor : "#fff",
pointHighlightFill : "#fff",
pointHighlightStroke : "rgba(151,187,205,1)",
data : ["<?php echo $dataarrayweijisuan[0]?>","<?php echo $dataarrayweijisuan[1]?>","<?php echo $dataarrayweijisuan[2]?>","<?php echo $dataarrayweijisuan[3]?>","<?php echo $dataarrayweijisuan[4]?>","<?php echo $dataarrayweijisuan[5]?>","<?php echo $dataarrayweijisuan[6]?>","<?php echo $dataarrayweijisuan[7]?>","<?php echo $dataarrayweijisuan[8]?>","<?php echo $dataarrayweijisuan[9]?>","<?php echo $dataarrayweijisuan[10]?>","<?php echo $dataarrayweijisuan[11]?>","<?php echo $dataarrayweijisuan[12]?>","<?php echo $dataarrayweijisuan[13]?>","<?php echo $dataarrayweijisuan[14]?>","<?php echo $dataarrayweijisuan[15]?>","<?php echo $dataarrayweijisuan[16]?>","<?php echo $dataarrayweijisuan[17]?>","<?php echo $dataarrayweijisuan[18]?>","<?php echo $dataarrayweijisuan[19]?>","<?php echo $dataarrayweijisuan[20]?>","<?php echo $dataarrayweijisuan[21]?>","<?php echo $dataarrayweijisuan[22]?>","<?php echo $dataarrayweijisuan[22]?>","<?php echo $dataarrayweijisuan[23]?>","<?php echo $dataarrayweijisuan[24]?>","<?php echo $dataarrayweijisuan[25]?>","<?php echo $dataarrayweijisuan[26]?>","<?php echo $dataarrayweijisuan[27]?>","<?php echo $dataarrayweijisuan[28]?>","<?php echo $dataarrayweijisuan[29]?>","<?php echo $dataarrayweijisuan[30]?>"]
}

,

{
label: "My Second dataset",
fillColor : "rgba(138,140,115,0.2)",
strokeColor : "rgba(138,140,115,1)",
pointColor : "rgba(138,140,115,1)",
pointStrokeColor : "#fff",
pointHighlightFill : "#fff",
pointHighlightStroke : "rgba(151,187,205,1)",
data : ["<?php echo $dataarraykoul[0]?>","<?php echo $dataarraykoul[1]?>","<?php echo $dataarraykoul[2]?>","<?php echo $dataarraykoul[3]?>","<?php echo $dataarraykoul[4]?>","<?php echo $dataarraykoul[5]?>","<?php echo $dataarraykoul[6]?>","<?php echo $dataarraykoul[7]?>","<?php echo $dataarraykoul[8]?>","<?php echo $dataarraykoul[9]?>","<?php echo $dataarraykoul[10]?>","<?php echo $dataarraykoul[11]?>","<?php echo $dataarraykoul[12]?>","<?php echo $dataarraykoul[13]?>","<?php echo $dataarraykoul[14]?>","<?php echo $dataarraykoul[15]?>","<?php echo $dataarraykoul[16]?>","<?php echo $dataarraykoul[17]?>","<?php echo $dataarraykoul[18]?>","<?php echo $dataarraykoul[19]?>","<?php echo $dataarraykoul[20]?>","<?php echo $dataarraykoul[21]?>","<?php echo $dataarraykoul[22]?>","<?php echo $dataarraykoul[22]?>","<?php echo $dataarraykoul[23]?>","<?php echo $dataarraykoul[24]?>","<?php echo $dataarraykoul[25]?>","<?php echo $dataarraykoul[26]?>","<?php echo $dataarraykoul[27]?>","<?php echo $dataarraykoul[28]?>","<?php echo $dataarraykoul[29]?>","<?php echo $dataarraykoul[30]?>"]
}


]
}
window.onload = function(){
var ctx = document.getElementById("canvas").getContext("2d");
window.myLine = new Chart(ctx).Line(lineChartData, {
responsive: true
});
}

</script>








</body>
</html>